<?php
$db['expressfee_objects']=array (
  'columns' => 
  array (
    'objects_id' => 
    array (
      'type' => 'int unsigned',
      'required' => true,
      'pkey' => true,
      'extra' => 'auto_increment',
      'editable' => false,
    ),
    'expressfee_id' => 
    array (
      'type' => 'table:expressfee@ome',
      'required' => true,
      'default' => 0,
      'editable' => false,
    ),
    'areaGroupId' =>
    array (
      'type' => 'longtext',
      'editable' => false,
      'in_list' => true,
      'default_in_list' =>true,
      'label' => '区域ID',
      'searchtype' =>'has',
      'comment' => app::get('ome')->_('区域ID'),
    ),
    'areaGroupName' =>
    array (
      'type' => 'longtext',
      'editable' => false,
      'in_list' => true,
      'default_in_list' =>true,
      'label' => '区域名称',
      'searchtype' =>'has',
      'comment' => app::get('ome')->_('区域名称'),
    ),
    'logistics' =>
    array (
      'type' => 'varchar(200)',
      'editable' => false,
      'in_list' => true,
      'default_in_list' =>true,
      'label' => '物流公司',
      'searchtype' =>'has',
      'comment' => app::get('ome')->_('物流公司'),
    ),
    'region_id' =>
    array (
      'type' => 'table:regions@eccommon',
      'required' => true,
      'default' => '0',
      'editable' => false,
      'pkey' => true,
    ),

   'areagroupbakid' =>
    array (
      'type' => 'number',
      'required' => true,
      'default' => '0',
      'editable' => false,

    ),

    'firstunit' =>
    array (
      'type' => 'number',
      'editable' => false,
      'default' => 0,
      'required' => true,
    ),
    'continueunit' =>
    array (
      'type' => 'number',
      'editable' => false,
      'default' => 0,
      'required' => true,
    ),
    'firstprice' =>
    array (
      'type' => 'money',
      'editable' => false,
    ),
    'continueprice' =>
    array (
      'type' => 'money',
      'editable' => false,
    ),
    'dt_expressions' =>
    array (
      'type' => 'longtext',
      'editable' => false,
    ),
    'dt_useexp' =>
    array (
      'type' => 'bool',
      'required' => true,
      'default' => 'false',
      'editable' => false,
    ),

  ),
  'index' =>
  array (
    'ind_objects_id' =>
    array (
        'columns' =>
        array (
          0 => 'objects_id',
        ),
    ),
  ),
  'engine' => 'innodb',
  'version' => '$Rev:  $',
);